-- GENERATED SPELL FOR [Hederine Slayer] --


function spell0_7463(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15284,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7463', 649, 1)
end

function spell1_7463(pUnit, Event) --@Execute,n/a--
pUnit:FullCastSpellOnTarget(7160,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7463', 0, 1)
end

function spell2_7463(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(16856,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7463', 5297, 1)
end

function Sorts_7463(pUnit, Event)
local choix_sorts_7463 = math.random(0, 2)
if choix_sorts_7463 == 0 then
pUnit:RegisterEvent('spell0_7463', 1, 1)
end
if choix_sorts_7463 == 1 then
pUnit:RegisterEvent('spell1_7463', 1, 1)
end
if choix_sorts_7463 == 2 then
pUnit:RegisterEvent('spell2_7463', 1, 1)
end
end

function mob7463_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7463', math.random(1500, 3000), 1)
end

function mob7463_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7463_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7463_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7463, 1, 'mob7463_Action')
RegisterUnitEvent(7463, 2, 'mob7463_Leave')
RegisterUnitEvent(7463, 3, 'mob7463_Kill')
RegisterUnitEvent(7463, 4, 'mob7463_Die')
